package com.supermap.dataservice.thrid.microclimate;
import com.alibaba.fastjson.JSONObject;
import com.supermap.dataservice.thrid.microclimate.wsdl.XXZX_CROP_GetCROPDataServiceLocator;
import com.supermap.dataservice.thrid.microclimate.wsdl.XXZX_CROP_GetCROPDataServiceSoap12BindingStub;
import com.supermap.dataservice.util.MD5;
import org.apache.axis.message.SOAPHeaderElement;

import javax.xml.rpc.ServiceException;
import javax.xml.soap.SOAPException;
/**
 * @author xiaolu
 * @date 2018/8/1 下午3:26
 */
public class MicroclimateWsdlServiceFactory {
    /**
     * 命名空间
     */
    private final static String NS = "http://Get_CROP_Service";

    public static XXZX_CROP_GetCROPDataServiceSoap12BindingStub getCROPDataServiceSoap12BindingStub(){
        return MicroclimateWsdlServiceFactory.getServiceSoap12();
    }

    private static XXZX_CROP_GetCROPDataServiceSoap12BindingStub getServiceSoap12() {
        XXZX_CROP_GetCROPDataServiceSoap12BindingStub stub = null;
        try {
            stub = (XXZX_CROP_GetCROPDataServiceSoap12BindingStub) new XXZX_CROP_GetCROPDataServiceLocator().getXXZX_CROP_GetCROPDataServiceHttpSoap12Endpoint();
        } catch (ServiceException e) {
            e.printStackTrace();
        }
        return stub;
    }
}

